package com.hxy.travel.service;

import com.hxy.travel.entity.PageResult;
import com.hxy.travel.entity.QueryPageBean;
import com.hxy.travel.pojo.TravelGroup;
import com.hxy.travel.pojo.TravelItem;

import java.util.List;

public interface TravelGroupService {


    void addTravelGroupAndIds(TravelGroup travelGroup, Integer[] travelItemIds);

    PageResult findPage(QueryPageBean queryPageBean);

    TravelGroup selectById(Integer id);

    void editTravelGroup(TravelGroup travelGroup, Integer[] travelItemIds);

    void deleteTravelItemById(Integer id);

    List<TravelGroup> findAll();


    List<TravelItem> selectTravelGroupList();

    List<Integer> selectTravelGroupBySetmealId(Integer id);
}
